package cn.lanqiao.pojo;

public class Orders {
    private Integer oid;
    private String orderTime;
    private Double totalPrice;

    public Orders(String orderTime, Double totalPrice) {
        this.orderTime = orderTime;
        this.totalPrice = totalPrice;
    }

    public Orders(Integer oid, String orderTime, Double totalPrice) {
        this.oid = oid;
        this.orderTime = orderTime;
        this.totalPrice = totalPrice;

    }

    public Orders() {
    }

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public String getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(String orderTime) {
        this.orderTime = orderTime;
    }

    public Double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(Double totalPrice) {
        this.totalPrice = totalPrice;
    }


    @Override
    public String toString() {
        return "Orders{" +
                "oid=" + oid +
                ", orderTime='" + orderTime + '\'' +
                ", totalPrice=" + totalPrice +
                '}';
    }
}